gusucode.com > MATLAB神经网络实例与精析随书源程序 > 第8章 自组织竞争神经网络/example8_5.m
% example8_5.m rng(0) W = rand(4,3) % 权值矩阵 P = rand(3,1) % 输入列向量 Z1 = dist(W,P)